import service from "..";
/* 获取歌单详情页数据 */
export const getMusicListDetail = (id: number) => {
    return service({
        method: "GET",
        url: `/playlist/detail?id=${id}`
    })
}
/* 获取歌单所有歌曲 */
export const getMusicListAll = (id: number) => {
    return service({
        method: "GET",
        url: `/playlist/track/all?id=${id}&limit=20`
    })
}
/* 获取单个歌曲详情 */
export const getMusicDetail = (id: number) => {
    return service({
        method: 'GET',
        url: `/song/detail?ids=${id}`
    })
}
/* 获取歌曲的歌词 */
export const getMusicLyric = (id: number) => {
    return service({
        method: "GET",
        url: `/lyric?id=${id}`
    })
}
/* 获取歌单评论 */
export const getListComment = (id: number) => {
    return service({
        method: "GET",
        url: `/comment/playlist?id=${id}&limit=20`
    })
}